package com.tangyanbo.filemanager.menu;

public class FileOperateMenu {

	private static final String DELETE_STRING = "删除";
	private static final String CUT_STRING = "剪切";
	private static final String COPY_STRING = "复制";
	private static final String RENAME_STRING = "重命名";	
	private static final String ZIP_STRING = "压缩";
	private static final String UNZIP_STRING = "解压缩";
	
	public static final int DELETE = 0;
	public static final int CUT = 1;
	public static final int COPY = 2;
	public static final int RENAME = 3;
	public static final int ZIP = 4;
	
	
	public static String[] getMenuItems(boolean isZIP){
		if(isZIP){
			return new String[]{DELETE_STRING,CUT_STRING,COPY_STRING,RENAME_STRING,UNZIP_STRING};
		}else{			
			return new String[]{DELETE_STRING,CUT_STRING,COPY_STRING,RENAME_STRING,ZIP_STRING};
		}
	}
}
